<p>The absolutely last point is that the reason this code was so hard to
get right, was because we had hacked so much to force it to work. I
wrote most of the hacks originally, so I am very much to blame.
However, now that the code is right, I have started to remove some
hacks. Most people should have seen that the <code>reset_filters</code>
and <code>add_required_filters</code> functions are gone. Those inserted
protocol level filters for error conditions, in fact, both functions did
the same thing, one after the other, it was really strange. Because we
don't lose protocol filters for error cases any more, those hacks went away.
The <code>HTTP_HEADER</code>, <code>Content-length</code>, and
<code>Byterange</code> filters are all added in the
<code>insert_filters</code> phase, because if they were added earlier, we
had some interesting interactions. Now, those could all be moved to be
inserted with the <code>HTTP_IN</code>, <code>CORE</code>, and
<code>CORE_IN</code> filters. That would make the code easier to
follow.</p>
</div></div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/developer/filters.html" title="English"> en </a></p>
</div><div id="footer">
<p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>